package com.szcatic.ework.service.login.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.szcatic.ework.dao.login.LoginDao;
import com.szcatic.ework.service.login.LoginService;
import com.szcatic.ework.vo.other.LoginInfo;

@Service("LoginServiceImpl")
public class LoginServiceImpl implements LoginService{
	
	@Autowired
	private LoginDao loginDao;
	
	/**
	 * 新增登录信息
	 * @param loginInfo
	 */
	public void insertLoginInfo(LoginInfo loginInfo){
		loginDao.insertLoginInfo(loginInfo);
	}

	@Override
	public void updateLoginInfo(LoginInfo loginInfo) {
		loginDao.updateLoginInfo(loginInfo);
	}

}
